Original: http://vckbase.com/index.php/wv/1236.htmlFirst, prefaceSome time ago, because the work is more busy, not able to write in time. In the meantime received a lot of netizens ' letters to ask and encourage, in this together express thanks.
Download source code
I. PrefaceSome time ago, due to busy work, I was not able to write in time. In the meantime, I received a letter from many netizens asking and encouraging me. I would like to express my gratitude to you here. Cough... I also
Download source code
I. PrefaceSome time ago, due to busy work, I was not able to write in time. In the meantime, I received a letter from many netizens asking and encouraging me. I would like to express my gratitude to you here. Cough... I also
The COM component has three basic interface classes: iunknown, iclassfactory, and idispatch.The COM specification specifies that all components and interfaces must be inherited from iunknown. iunknown contains three functions: QueryInterface, addref,
Original: http://vckbase.com/index.php/wv/1225.htmlFirst, prefaceFinally wrote the tenth time, I have been looking forward to writing this back, yes, why? Because automation (automation) is a very common, very useful, very exciting COM feature.
Overview
Idispatch interface: interface for interface scheduling. You can call functions of the interface without using header files.
Idispatch interface functions
1> getidsofnames-obtain the interface function id based on the interface function
Download source code
I. PrefaceI finally wrote it to the ninth time, and I have been hoping to write this article. Why? Automation is a very common, useful, and wonderful com function. Since office software such as Word and Excel provide the "macro"
COM (5) -- inherit from the idispatch Interface
(1) ObjectivesThis article uses a simple example to describe how to make our COM Object accessible to the scripting language.
(2) IDL filesTo use COM components in the script language environment, the
First, the preface
Finally wrote the tenth time, I have been looking forward to writing this back content Yes, why? Because automation (automation) is a very common, very useful, very exciting one of the COM features. As WORD, EXCEL and other
In ASP development, we often use a call like this ousername=request ("UserName"). To be sure, what we need to get is a string value, in fact, we also use Ousername as a character value.As a complete invocation should be this: Ousername=cstr (Request.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.